<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@page import="java.util.*" %>
<%@ page import="com.lmpop.trade.ti_personal.*" %>
<%
		String cust_id = "";
		if( session.getAttribute("session_cust_id") != null )
		{
			cust_id = session.getAttribute("session_cust_id").toString();
		}
		
		Ti_personalInfo ti_personalInfo = new Ti_personalInfo();
		List list = ti_personalInfo.getListByPk(cust_id);
		Hashtable map = new Hashtable();
		if(list!=null && list.size()>0) map = (Hashtable)list.get(0);
		
		String email="",cellphone="",phone="";
		//if(map.get("user_name")!=null) user_name = map.get("user_name").toString();
		//if(map.get("real_name")!=null) real_name = map.get("real_name").toString();real_name=real_name.trim(); 
		if(map.get("email")!=null) email = map.get("email").toString();
		//if(map.get("msn")!=null) msn = map.get("msn").toString();
		//if(map.get("qq")!=null) qq = map.get("qq").toString();
		if(map.get("cellphone")!=null) cellphone = map.get("cellphone").toString();
		//if(map.get("fax")!=null) fax = map.get("fax").toString();
		if(map.get("phone")!=null) phone = map.get("phone").toString();
		//if(map.get("remark")!=null) remark = map.get("remark").toString();
%>
<html>
  <head>

    <title>基本信息修改</title>
		<link href="/program/company/index/css/style.css" rel="stylesheet" type="text/css"/>
		<script type="text/javascript" src="data.js"></script>
</head>

<body>
	
	<form action="/doTradeReg.do" method="post" name="addForm">
	<input name="cust_id" id="cust_id" type="hidden" value="<%=cust_id%>" />
	<table width="100%" cellpadding="1" cellspacing="1" border="0" class="listtab">
		<tr>
			<td align="right" width="20%">
				用户邮箱:
			</td>
			<td>
				<font color="#808069">
					<input type="text" name="email"  id="email"  value="<%=email%>" size="30" />
				</font>
			</td>
		</tr>
		<tr>
			<td align="right" width="20%">
				手机号码:
			</td>
			<td>
				<font color="#808069">
					<input type="text" name="cellphone" id="cellphone"  value="<%=cellphone%>" size="30" />
				</font>
			</td>
		</tr>
		<tr>
			<td align="right" width="20%">
				电话号码:
			</td>
			<td>
				<font color="#808069">
					<input type="text" name="phone" id="phone"  value="<%=phone%>" size="30" />
				</font>
			</td>
		</tr>
		
		
	</table>
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td align="center">
				<input type="hidden" name="bpm_id" value="8204" />
				<input class="buttoncss" type="button" name="tradeSub" value="提交" onClick="checkemailform();"/>&nbsp;&nbsp;
				<!--<input class="buttoncss" type="button" name="tradeRut" value="返回" onClick="backa()"/>-->
			</td>
		</tr>
	</table>
	</form>
</body>

</html>
